package com.rundatop.dao.model;

import java.util.List;

import javax.persistence.*;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

@ToString
@Accessors(chain = true)
@Table(name = "`cities`")
public class Cities {
    @Id
    @Column(name = "`id`")
    private Integer id;

    @Column(name = "`cityid`")
    private String cityid;

    @Column(name = "`city`")
    private String city;

    @Column(name = "`provinceid`")
    private String provinceid;
    
    @Transient
    private List<Store> list;
    
    
    

    public List<Store> getList() {
		return list;
	}

	public void setList(List<Store> list) {
		this.list = list;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getCityid() {
		return cityid;
	}

	public void setCityid(String cityid) {
		this.cityid = cityid;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getProvinceid() {
		return provinceid;
	}

	public void setProvinceid(String provinceid) {
		this.provinceid = provinceid;
	}

	public static final String ID = "id";

    public static final String CITYID = "cityid";

    public static final String CITY = "city";

    public static final String PROVINCEID = "provinceid";
}